package com.cloudcross.ssp.common;

import org.springframework.stereotype.Repository;

import com.cloudcross.ssp.base.utils.springbean.Properties;

@Repository
public final class Config {

    @Properties(name = "resource.upload.dir")
    private String resourceUploadDir;

    @Properties(name = "rdb.odx")
    private String rdbodxpath;

    @Properties(name = "code.address")
    private String codeAddress;

    @Properties(name = "mongodb.host")
    private String mongodbHost;

    @Properties(name = "mongodb.port")
    private String mongodbPort;

    @Properties(name = "mongodb.user")
    private String mongodbUser;

    @Properties(name = "mongodb.pass")
    private String mongodbPass;

    @Properties(name = "resource.upload.domain")
    private String sspDomain;

    @Properties(name = "resource.upload.port")
    private String sspPort;

    @Properties(name = "infor_show_days")
    private String inforDhowDays;

    @Properties(name = "infor_show_days")
    private String inforLackBalance;

    @Properties(name = "mail.smtp.host")
    private String mailSmtpHost;

    @Properties(name = "mail.smtp.port")
    private String mailSmtpPort;

    @Properties(name = "mail.smtp.auth")
    private String mailSmtpAuth;

    @Properties(name = "mail.smtp.username")
    private String mailSmtpUsername;

    @Properties(name = "mail.smtp.password")
    private String mailSmtpPassword;

    @Properties(name = "mail.smtp.fromAddress")
    private String mailSmtpFromAddress;

    @Properties(name = "js.code.address")
    private String jsCodeAddress;

    @Properties(name = "icon_path")
    private String iconPath;

    @Properties(name = "logout")
    private String logout;

    @Properties(name = "logo_path")
    private String logoPath;

    @Properties(name = "iscdnossopen")
    private String iscdnossopen;
    
    //添加直客URL接口
    @Properties(name = "manage.domain")
    private String manageDomain;

    public boolean getIscdnossopen() {
        return (iscdnossopen != null) && ("true".equals(iscdnossopen));
    }

    @Properties(name = "adgroup_real_report")
    private String adgroupRealReport;

    @Properties(name = "manage.dbname")
    private String manageDbname;

    @Properties(name = "manage.host")
    private String manageHost;

    @Properties(name = "manage.password")
    private String managePass;

    @Properties(name = "manage.username")
    private String manageUser;

    @Properties(name = "manage.dbport")
    private String managePort;

    @Properties(name = "app.dbname")
    private String appDbname;

    @Properties(name = "app.host")
    private String appHost;

    @Properties(name = "app.password")
    private String appPass;

    @Properties(name = "app.username")
    private String appUser;

    @Properties(name = "app.dbport")
    private String appPort;
    
    @Properties(name = "app.domain")
    private String appDomain;

    @Properties(name = "oa.host")
    private String oaHost;

    @Properties(name = "oa.port")
    private String oaPort;

    @Properties(name = "oa.username")
    private String oaUsername;

    @Properties(name = "oa.password")
    private String oaPassword;

    @Properties(name = "oa.dbname")
    private String oaDbname;

    public String getResourceUploadDir() {
        return resourceUploadDir;
    }

    public void setResourceUploadDir(String resourceUploadDir) {
        this.resourceUploadDir = resourceUploadDir;
    }

    public String getRdbodxpath() {
        return rdbodxpath;
    }

    public void setRdbodxpath(String rdbodxpath) {
        this.rdbodxpath = rdbodxpath;
    }

    public String getCodeAddress() {
        return codeAddress;
    }

    public void setCodeAddress(String codeAddress) {
        this.codeAddress = codeAddress;
    }

    public String getMongodbHost() {
        return mongodbHost;
    }

    public void setMongodbHost(String mongodbHost) {
        this.mongodbHost = mongodbHost;
    }

    public String getMongodbPort() {
        return mongodbPort;
    }

    public void setMongodbPort(String mongodbPort) {
        this.mongodbPort = mongodbPort;
    }

    public String getMongodbUser() {
        return mongodbUser;
    }

    public void setMongodbUser(String mongodbUser) {
        this.mongodbUser = mongodbUser;
    }

    public String getMongodbPass() {
        return mongodbPass;
    }

    public void setMongodbPass(String mongodbPass) {
        this.mongodbPass = mongodbPass;
    }

    public String getSspDomain() {
        return sspDomain;
    }

    public void setSspDomain(String sspDomain) {
        this.sspDomain = sspDomain;
    }

    public String getSspPort() {
        return sspPort;
    }

    public void setSspPort(String sspPort) {
        this.sspPort = sspPort;
    }

    public String getInforDhowDays() {
        return inforDhowDays;
    }

    public void setInforDhowDays(String inforDhowDays) {
        this.inforDhowDays = inforDhowDays;
    }

    public String getInforLackBalance() {
        return inforLackBalance;
    }

    public void setInforLackBalance(String inforLackBalance) {
        this.inforLackBalance = inforLackBalance;
    }

    public String getMailSmtpHost() {
        return mailSmtpHost;
    }

    public void setMailSmtpHost(String mailSmtpHost) {
        this.mailSmtpHost = mailSmtpHost;
    }

    public String getMailSmtpPort() {
        return mailSmtpPort;
    }

    public void setMailSmtpPort(String mailSmtpPort) {
        this.mailSmtpPort = mailSmtpPort;
    }

    public String getMailSmtpAuth() {
        return mailSmtpAuth;
    }

    public void setMailSmtpAuth(String mailSmtpAuth) {
        this.mailSmtpAuth = mailSmtpAuth;
    }

    public String getMailSmtpUsername() {
        return mailSmtpUsername;
    }

    public void setMailSmtpUsername(String mailSmtpUsername) {
        this.mailSmtpUsername = mailSmtpUsername;
    }

    public String getMailSmtpPassword() {
        return mailSmtpPassword;
    }

    public void setMailSmtpPassword(String mailSmtpPassword) {
        this.mailSmtpPassword = mailSmtpPassword;
    }

    public String getMailSmtpFromAddress() {
        return mailSmtpFromAddress;
    }

    public void setMailSmtpFromAddress(String mailSmtpFromAddress) {
        this.mailSmtpFromAddress = mailSmtpFromAddress;
    }

    public String getJsCodeAddress() {
        return jsCodeAddress;
    }

    public void setJsCodeAddress(String jsCodeAddress) {
        this.jsCodeAddress = jsCodeAddress;
    }

    public String getIconPath() {
        return iconPath;
    }

    public void setIconPath(String iconPath) {
        this.iconPath = iconPath;
    }

    public String getLogout() {
        return logout;
    }

    public void setLogout(String logout) {
        this.logout = logout;
    }

    public String getLogoPath() {
        return logoPath;
    }

    public void setLogoPath(String logoPath) {
        this.logoPath = logoPath;
    }

    public String getAdgroupRealReport() {
        return adgroupRealReport;
    }

    public void setAdgroupRealReport(String adgroupRealReport) {
        this.adgroupRealReport = adgroupRealReport;
    }

    public String getManageDbname() {
        return manageDbname;
    }

    public void setManageDbname(String manageDbname) {
        this.manageDbname = manageDbname;
    }

    public String getManageHost() {
        return manageHost;
    }

    public void setManageHost(String manageHost) {
        this.manageHost = manageHost;
    }

    public String getManagePass() {
        return managePass;
    }

    public void setManagePass(String managePass) {
        this.managePass = managePass;
    }

    public String getManageUser() {
        return manageUser;
    }

    public void setManageUser(String manageUser) {
        this.manageUser = manageUser;
    }

    public String getManagePort() {
        return managePort;
    }

    public void setManagePort(String managePort) {
        this.managePort = managePort;
    }

    public String getAppDbname() {
        return appDbname;
    }

    public void setAppDbname(String appDbname) {
        this.appDbname = appDbname;
    }

    public String getAppHost() {
        return appHost;
    }

    public void setAppHost(String appHost) {
        this.appHost = appHost;
    }

    public String getAppPass() {
        return appPass;
    }

    public void setAppPass(String appPass) {
        this.appPass = appPass;
    }

    public String getAppUser() {
        return appUser;
    }

    public void setAppUser(String appUser) {
        this.appUser = appUser;
    }

    public String getAppPort() {
        return appPort;
    }

    public void setAppPort(String appPort) {
        this.appPort = appPort;
    }
    
    public String getAppDomain() {
        return appDomain;
    }

    public void setAppDomain(String appDomain) {
        this.appDomain = appDomain;
    }

    public String getOaHost() {
        return oaHost;
    }

    public void setOaHost(String oaHost) {
        this.oaHost = oaHost;
    }

    public String getOaPort() {
        return oaPort;
    }

    public void setOaPort(String oaPort) {
        this.oaPort = oaPort;
    }

    public String getOaUsername() {
        return oaUsername;
    }

    public void setOaUsername(String oaUsername) {
        this.oaUsername = oaUsername;
    }

    public String getOaPassword() {
        return oaPassword;
    }

    public void setOaPassword(String oaPassword) {
        this.oaPassword = oaPassword;
    }

    public String getOaDbname() {
        return oaDbname;
    }

    public void setOaDbname(String oaDbname) {
        this.oaDbname = oaDbname;
    }

    public void setIscdnossopen(String iscdnossopen) {
        this.iscdnossopen = iscdnossopen;
    }

    public String getManageDomain() {
        return manageDomain;
    }

    public void setManageDomain(String manageDomain) {
        this.manageDomain = manageDomain;
    }
    
    
}